//
//  AllAppWorkspace.m
//  SkillCollection
//
//  Created by Lee on 2017/5/5.
//  Copyright © 2017年 cashpie. All rights reserved.
//

#import "AllAppWorkspace.h"

@implementation AllAppWorkspace

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"

NSArray * AppWorkspace (void){

    Class class = NSClassFromString(@"LSApplicationWorkspace");

    id workspace = [(id)class performSelector:NSSelectorFromString(@"defaultWorkspace")];

    return [workspace performSelector:NSSelectorFromString(@"allInstalledApplications")];
    
}
#pragma clang diagnostic pop

@end
